﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MvcApplication2.Models
{
    public class TestModels
    {
         [Required(ErrorMessage = "sdasdas")]
        public string username { get; set; }
         [Required]
        public string password { get; set; }
        public int Id { get; set; }
    }
}